﻿<%@ Control Language="C#" ClassName="HoiVienFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
				<td class="literal">Hoi Vien Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataHoiVienId" Value='<%# Bind("HoiVienId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Khach Hang Id:</td>
				<td>
					<asp:HiddenField runat="server" id="dataKhachHangId" Value='<%# Bind("KhachHangId") %>'></asp:HiddenField>
				</td>
			</tr>				
			<tr>
				<td class="literal">Loai Hoi Vien:</td>
				<td>
					<asp:TextBox runat="server" ID="dataLoaiHoiVien" Text='<%# Bind("LoaiHoiVien") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataLoaiHoiVien" runat="server" Display="Dynamic" ControlToValidate="dataLoaiHoiVien" ErrorMessage="Invalid value" MaximumValue="32767" MinimumValue="-32768" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ma So Hv:</td>
				<td>
					<asp:TextBox runat="server" ID="dataMaSoHv" Text='<%# Bind("MaSoHv") %>' MaxLength="20"></asp:TextBox>
				</td>
			</tr>				
			<tr>
				<td class="literal">Ngay Dang Ky:</td>
				<td>
					<asp:TextBox runat="server" ID="dataNgayDangKy" Text='<%# Bind("NgayDangKy", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataNgayDangKy" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataNgayDangKy" runat="server" Display="Dynamic" ControlToValidate="dataNgayDangKy" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			
		</table>

	</ItemTemplate>
</asp:FormView>


